import pandas as pd
from yawSrc.tools.surfaceDecorator import SurfaceDecorator
from common.config import yawConfig as Config

from yawSrc.tools.getPlotly import show3dFig
from yawSrc.tools.loadFile import toCsv, toAttrCsv
import os

@SurfaceDecorator.fit
def onlSurfaceProcess(points):
    print("surfaceProcess 进行中................")
    return points

def surfaceProcess():
    toCsv(Config.onlFusionProcess, Config.onlSurfaceProcess, onlSurfaceProcess)
    toAttrCsv(Config.onlSurfaceProcess, Config.onlSurfaceAttr)
    print('surfaceProcess 完毕................')
    # show3dFig(Config.onlSurfaceProcess)

if __name__ == '__main__':
    surfaceProcess()